package com.diamond.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * TInlayDiamond entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "t_inlay_diamond", catalog = "diamond")
public class TInlayDiamond implements java.io.Serializable {

	// Fields

	private Long inlayDiamondId;
	private Long userId;
	private String inlayLevel;
	private String inlayType;
	private String inlayName;
	private String inlayNumber;
	private String inlayMaterial;
	private String inlayWeight;
	private String handSize;
	private String remark;
	private String inlayDiaStatus;
	private String delStatus;
	private String version;
	private Double k18Price;
	private Double pt900Price;
	private Double pt950Price;
	private String k18Weight;
	private String pt900Weight;
	private String pt950Weight;
	private String factoryNumber;
	private String picture;
	
	// Constructors

	/** default constructor */
	public TInlayDiamond() {
	}
	
	
	

	public TInlayDiamond(Long inlayDiamondId, Long userId, String inlayLevel,
			String inlayType, String inlayName, String inlayNumber,
			String inlayMaterial, String inlayWeight, String handSize,
			String remark, String inlayDiaStatus, String delStatus,
			String version, Double k18Price, Double pt900Price,
			Double pt950Price, String k18Weight, String pt900Weight,
			String pt950Weight, String picture,String factoryNumber) {
		super();
		this.inlayDiamondId = inlayDiamondId;
		this.userId = userId;
		this.inlayLevel = inlayLevel;
		this.inlayType = inlayType;
		this.inlayName = inlayName;
		this.inlayNumber = inlayNumber;
		this.inlayMaterial = inlayMaterial;
		this.inlayWeight = inlayWeight;
		this.handSize = handSize;
		this.remark = remark;
		this.inlayDiaStatus = inlayDiaStatus;
		this.delStatus = delStatus;
		this.version = version;
		this.k18Price = k18Price;
		this.pt900Price = pt900Price;
		this.pt950Price = pt950Price;
		this.k18Weight = k18Weight;
		this.pt900Weight = pt900Weight;
		this.pt950Weight = pt950Weight;
		this.picture = picture;
		this.factoryNumber = factoryNumber;
	}




	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "inlay_diamond_id", unique = true, nullable = false)
	public Long getInlayDiamondId() {
		return this.inlayDiamondId;
	}

	public void setInlayDiamondId(Long inlayDiamondId) {
		this.inlayDiamondId = inlayDiamondId;
	}

	@Column(name = "user_id")
	public Long getUserId() {
		return this.userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	@Column(name = "inlay_type", length = 10)
	public String getInlayType() {
		return this.inlayType;
	}

	public void setInlayType(String inlayType) {
		this.inlayType = inlayType;
	}
	
	@Column(name = "inlay_level", length = 10)
	public String getInlayLevel() {
		return inlayLevel;
	}

	public void setInlayLevel(String inlayLevel) {
		this.inlayLevel = inlayLevel;
	}

	@Column(name = "inlay_name", length = 100)
	public String getInlayName() {
		return this.inlayName;
	}

	public void setInlayName(String inlayName) {
		this.inlayName = inlayName;
	}

	@Column(name = "inlay_number", length = 100)
	public String getInlayNumber() {
		return this.inlayNumber;
	}

	public void setInlayNumber(String inlayNumber) {
		this.inlayNumber = inlayNumber;
	}

	@Column(name = "inlay_material", length = 100)
	public String getInlayMaterial() {
		return this.inlayMaterial;
	}

	public void setInlayMaterial(String inlayMaterial) {
		this.inlayMaterial = inlayMaterial;
	}

	@Column(name = "inlay_weight", length = 100)
	public String getInlayWeight() {
		return this.inlayWeight;
	}

	public void setInlayWeight(String inlayWeight) {
		this.inlayWeight = inlayWeight;
	}

	@Column(name = "inlay_size", length = 10)
	public String getHandSize() {
		return this.handSize;
	}

	public void setHandSize(String handSize) {
		this.handSize = handSize;
	}

	@Column(name = "remark", length = 500)
	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Column(name = "inlay_dia_status", length = 10)
	public String getInlayDiaStatus() {
		return this.inlayDiaStatus;
	}

	public void setInlayDiaStatus(String inlayDiaStatus) {
		this.inlayDiaStatus = inlayDiaStatus;
	}

	@Column(name = "del_status", length = 10)
	public String getDelStatus() {
		return this.delStatus;
	}

	public void setDelStatus(String delStatus) {
		this.delStatus = delStatus;
	}

	@Column(name = "version", length = 10)
	public String getVersion() {
		return this.version;
	}

	public void setVersion(String version) {
		this.version = version;
	}
	
	@Column(name = "k18_price", precision = 22, scale = 0)
	public Double getK18Price() {
		return k18Price;
	}

	public void setK18Price(Double k18Price) {
		this.k18Price = k18Price;
	}
	
	@Column(name = "pt900_price", precision = 22, scale = 0)
	public Double getPt900Price() {
		return pt900Price;
	}

	public void setPt900Price(Double pt900Price) {
		this.pt900Price = pt900Price;
	}
	
	@Column(name = "pt950_price", precision = 22, scale = 0)
	public Double getPt950Price() {
		return pt950Price;
	}

	public void setPt950Price(Double pt950Price) {
		this.pt950Price = pt950Price;
	}
	
	@Column(name = "picture", length = 100)
	public String getPicture() {
		return picture;
	}

	public void setPicture(String picture) {
		this.picture = picture;
	}

	@Column(name = "k18_weight", length = 10)
	public String getK18Weight() {
		return k18Weight;
	}

	public void setK18Weight(String k18Weight) {
		this.k18Weight = k18Weight;
	}

	@Column(name = "pt900_weight", length = 10)
	public String getPt900Weight() {
		return pt900Weight;
	}

	public void setPt900Weight(String pt900Weight) {
		this.pt900Weight = pt900Weight;
	}

	@Column(name = "pt950_weight", length = 10)
	public String getPt950Weight() {
		return pt950Weight;
	}

	public void setPt950Weight(String pt950Weight) {
		this.pt950Weight = pt950Weight;
	}

	@Column(name = "factory_number", length = 100)
	public String getFactoryNumber() {
		return factoryNumber;
	}




	public void setFactoryNumber(String factoryNumber) {
		this.factoryNumber = factoryNumber;
	}
	
	

}